package exam.exam02;

public class Money {
    //属性：面值、真假(bolean类型)
    private float value;
    private boolean isfake;

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public boolean isIsfake() {
        return isfake;
    }

    public void setIsfake(boolean isfake) {
        this.isfake = isfake;
    }

    public Money(int value, boolean isfake) {
        this.value = value;
        this.isfake = isfake;
    }

    public Money() {
    }
}
